The Source Control Integration API > The source control integration API optional functions > SCS_SetDesignNotes()

 

SCS_SetDesignNotes()

Description

Stores the key-value pairs in the meta information for the specified file or folder. This replaces the set of meta information for the file. If unsupported by the source control system, Dreamweaver stores Design Notes in .mno files.

Arguments

connectionData, remotePath, keyList, valueList, showColumnList, noteCount, noteLength

connectionData is a pointer to the agent's data that was passed into Dreamweaver during the Connect() call.
remotePath is the fully qualified remote file or folder path that the DLL checks for the number of items.
keyList is a list of Design Note keys, such as "Status".
valueList is a list of Design Note values corresponding to the Design Note keys, such as "Awaiting Signoff".
showColumnList is a list of Boolean values corresponding to the Design Note keys, which indicate whether Dreamweaver can display the key as a column in the Site window.
noteCount is the number of Design Notes attached to this file or folder; this lets the DLL know how big the specified lists are. If noteCount is 0, all Design Notes are removed from the file.
noteLength is the length of the largest Design note for the specified file or folder.

Returns

true if successful, false if not.